package com.oceansoft.mobile.biz.api.service;



import com.oceansoft.mobile.common.util.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;

/**
 * Created by lenovo on 2017/5/3.
 */
public interface IApiUploadPictureService {
    /**
     * 违法犯罪和咨询投诉的图片上传
     * @param request
     * @param serverId
     * @param localid
     * @param uploadUrl
     * @return
     * @throws IOException
     */
    Result saveFjTX(HttpServletRequest request, String serverId, String localid, String uploadUrl) throws IOException;

    /**
     * 货车临时同行证
     * 施工车辆
     * 申请门牌号
     * 户口业务选择
     * 居住证办理
     * 禁毒类申报
     * 律师网上预约
     * 行政复议
     * 图片上传
     * @param request
     * @param serverId
     * @param type
     * @param name
     * @return
     * @throws IOException
     */
    Result saveOneFjTX(HttpServletRequest request, String serverId,String type, String name) throws IOException;

    /**
     * 养犬管理图片上传
     * @param request
     * @param serverId
     * @param type
     * @param name
     * @return
     * @throws IOException
     */
    Result saveDogFjTX(HttpServletRequest request,String serverId, String type, String name) throws IOException;

    /**
     *法制投诉上传图片
     * @param request
     * @param serverId
     * @return
     * @throws IOException
     */
    Result saveFZFjTX(HttpServletRequest request,String serverId) throws IOException;

    /**app
     * 货车临时同行证
     * 施工车辆
     * 申请门牌号
     * 户口业务选择
     * 居住证办理
     * 禁毒类申报
     * 律师网上预约
     * 行政复议
     * 图片上传
     * @param request
     * @return
     * @throws IOException
     */
    Result saveAppOneFjTx(HttpServletRequest request) throws  IOException;

    /**
     * app养犬图片上传
     * @param request
     * @return
     * @throws IOException
     */
    Result saveAppDogFjTx(HttpServletRequest request) throws  IOException;

    /**
     * app违法犯罪和咨询投诉的图片上传
     * @param request
     * @return
     * @throws IOException
     */
    Result saveAppFjTx(HttpServletRequest request) throws  IOException;

    /**
     * app法制投诉上传图片
     * @param request
     * @return
     * @throws IOException
     */
    Result saveAppFZFjTx(HttpServletRequest request) throws  IOException;
}
